<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/include/head.jsp"%>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>活动展示</title>
<script language="javascript" src="<%=request.getContextPath()%>/script/jquery.min.js"></script>
<style>
table{  border-collapse:collapse;  }
td{  border:1px solid #f00;  }
</style>

</head>
<body>
这里是【主模块】啊哥。<br>
下面测试【Hibernate】和【兴民的阿里云数据库】啊哥。<br>
<table >
	<c:forEach items="${list}" var="activity">
		<div class="item">
			<img src="images/library.jpg" height="220" width="147" alt="">
			<ul>
				<span class="isBooking">

				未预约</span>
				<li>活动主题：<p><c:out value="${activity.activityName}"/></p></li>
				<li>活动时间：<p><c:out value="${activity.startTime}"/></p></li>
				<li>报名时间：<p><c:out value="${activity.applyDeadline}"/>前</p></li>
				<li>报名人数：<p><c:out value="${activity.maxNum}"/></p></li>
				<li>活动状态：<p><c:out value="${activity.maxNum}"/></p></li>
				<span class="details" onclick="window.location.href='content-page.jsp'">详细情况</span>
			</ul>
		</div>
	</c:forEach>
</table>
</body>
</html>
